package com.b2.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "sky.jwt")
@Data
public class JwtProperties {

    /*用户关于token的密钥和时间与token名字*/
    private String UserSecretKey;
    private long UserTtl;
    private String UserTokenName;

}
